Chopping Up Trees to Improve Spatial Locality in Implicit k-Heaps

نویسندگان

  • Robert Niewiadomski
  • José Nelson Amaral
چکیده

Research on the performance of implicit k-heaps has shown that aligning data with cache lines and increasing heap arity are effective techniques for improving the data reference locality of heap operations. The technique of tree blocking has long been used to enhance the data reference locality of tree-based search methods. In this paper we propose c-clustered tree blocking, a new tree blocking method designed to further enhance the data reference locality of implicit k-heap operations. We examine the effect of our method on the performance of a traditional aligned implicit 2-heap using internal memory benchmarks based on the Hold model. Our empirical results, reproduced on four contemporary architectures, show that our method produces speedups of up to 2.0 in either benchmark, while reducing data cache misses by up to 85% and TLB misses by up to 65%. For larger heap arities our method matches the performance of traditional implicit k-heaps while improving page level locality.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The In uence of Caches on the Performance of Heaps

As cycle times grow relative to memory speeds, the cache performance of algorithms has an increasingly large impact on overall performance. Unfortunately, most commonly used algorithms were not designed with cache performance in mind. This paper investigates the cache performance of implicit heaps. We present optimizations which signi cantly reduce the cache misses that heaps incur and improve ...

متن کامل

روش های مناسب در تحلیل الگوی مکانی درختزارهای ناهمگن بنه (.Pistacia atlantica Desf) در زاگرس

Spatial pattern of trees in forests reveals how trees interact with each other and their environment. Spatial structure of trees in forest ecosystems is affected by environmental heterogeneity that leads to their heterogeneous distribution. This study was aimed to investigate the appropriate methods to analyze spatial pattern of heterogeneous wild pistachio woodlands in Zagros, Iran. A 40-ha pu...

متن کامل

A simpler implementation and analysis of Chazelle's soft heaps

Chazelle (JACM 47(6), 2000) devised an approximate meldable priority queue data structure, called Soft Heaps, and used it to obtain the fastest known deterministic comparison-based algorithm for computing minimum spanning trees, as well as some new algorithms for selection and approximate sorting problems. If n elements are inserted into a collection of soft heaps, then up to εn of the elements...

متن کامل

An Efficient Construction Algorithm for a Class of Implicit Double-Ended Priority Queues

Priority queues and double-ended priority queues are fundamental data types in Computer Science, and various data structures have been proposed to implement them. In particular, diamond deques, interval heaps, min-max-pair heaps, and twin-heaps provide implicit structures for double-ended priority queues. Although these heap-like structures are essentially the same when they are presented in an...

متن کامل

تحلیل الگوی پراکنش مکانی گونه راش شرقی (Fagus orientalis Lipsky) در جنگل‌های هیرکانی با استفاده از شاخص‌های زاویه‌ای (مطالعه موردی: جنگل‌های ناو اسالم گیلان)

It is so important to know about ecological characteristics of trees of a stand, in forest management. The first step to achieve this knowledge is to recognize the spatial pattern of trees. Therefore, regarding the enviro-economic  importance of F. orientalis in hyrcanian forests, this study checked spatial pattern of these trees. In order to do this research, 5 one-hectare plots with homogeneo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006